* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.icon-selected {
  color: #515151;
}

.cart {
  width: 100vw;
  height: 100vh;
  background: #efeff4;
}

.cart .cartTitle {
  height: 70px;
}

.cart .cartTitle h2 {
  background: #ff0036;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 70px;
}

.cart .cartBg {
  width: 100%;
  height: calc(100vh - 170px);
  overflow-y: scroll;
  background: url("../../../img/cart/cartbg.png") no-repeat center;
  background-size: 100% 100%;
}

.cart .cartList {
  width: 100%;
  height: calc(100vh - 170px);
  overflow-y: scroll;
}

.cart .cartList .cartItem {
  background: #fff;
  margin-bottom: 20px;
}

.cart .cartList .cartItem .partAllSelect {
  display: flex;
  margin-left: 20px;
  align-items: center;
  line-height: 40px;
  border-bottom: 2px solid #e5e5e5;
}

.cart .cartList .cartItem .partAllSelect i {
  margin-right: 10px;
}

.cart .cartList .cartItem .partAllSelect .shopName {
  color: #5f5e5b;
}

.cart .cartList .cartItem .productItem {
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 0;
}

.cart .cartList .cartItem .productItem i {
  flex: 1;
  text-align: center;
}

.cart .cartList .cartItem .productItem .productBox {
  flex: 8;
  display: flex;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e5e5;
}

.cart .cartList .cartItem .productItem .productBox .productImg {
  flex: 2;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  margin-right: 10px;
}

.cart .cartList .cartItem .productItem .productBox .productImg img {
  width: 60px;
  height: 60px;
}

.cart .cartList .cartItem .productItem .productBox .productMsg {
  flex: 4;
}

.cart .cartList .cartItem .productItem .productBox .productMsg .productName {
  margin: 10px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #666666;
  line-height: 20px;
  font-size: 14px;
}

.cart .cartList .cartItem .productItem .productBox .productMsg .productPrice {
  line-height: 40px;
  color: #333333;
  font-size: 16px;
}

.cart .cartList .cartItem .productItem .productBox .productMsg .productCountAction {
  margin-top: 5px;
  float: right;
  display: flex;
}

.cart .cartList .cartItem .productItem .productBox .productMsg .productCountAction .add,
.cart .cartList .cartItem .productItem .productBox .productMsg .productCountAction .count,
.cart .cartList .cartItem .productItem .productBox .productMsg .productCountAction .sub {
  width: 20px;
  outline: none;
  text-align: center;
  display: inline-block;
  font-size: 18px;
  background: #fff;
  border: 1px solid #ddd;
}

.cart .cartList .cartItem .productItem .productBox .productMsg .delete {
  width: 40px;
  height: 30px;
  float: right;
  margin-top: 5px;
  margin-left: 15px;
  text-align: center;
  border: 1px solid #ddd;
}

.cart .func {
  display: flex;
  padding-left: 20px;
  background: #f5f5f8;
  line-height: 50px;
  height: 50px;
}

.cart .func .allSeleck {
  flex: 1;
  font-size: 14px;
  display: inline-block;
}

.cart .func .allSeleck span {
  padding-left: 10px;
}

.cart .func .total {
  flex: 2;
  font-size: 18px;
  text-align: right;
  color: #ff0036;
  padding-right: 10px;
}

.cart .func .pay {
  width: 100px;
  height: 100%;
  color: #fff;
  font-size: 16px;
  text-align: center;
  background: #ff0036;
  float: right;
}

.cart .func .unpay {
  width: 100px;
  height: 100%;
  color: #fff;
  text-align: center;
  background: #ccc;
  float: right;
}
